package cn.strive.eams.purchase.pojo.entity;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;
@Data
public class Purchase {
    @ApiModelProperty(value = "采购id")
    private Long id;
    @ApiModelProperty(value = "申请人id")
    private Long userId;
    @ApiModelProperty(value = "申请人姓名")
    private String username;
    @ApiModelProperty(value = "手机号")
    private String phone;
    @ApiModelProperty(value = "邮箱")
    private String email;
    @ApiModelProperty(value = "所属部门")
    private String department;
    @ApiModelProperty(value = "供应商Id")
    private Long supplierId;
    @ApiModelProperty(value = "下单日期")
    private Date orderDate;
    @ApiModelProperty(value = "预计交货日期")
    private Date expectedDeliveryDate;
    @ApiModelProperty(value = "总金额")
    private Long totalAmount;
    @ApiModelProperty(value = "采购表状态")
    private String status;
    @ApiModelProperty(value = "审批人id")
    private Long approvedById;
    @ApiModelProperty(value = "原因")
    private String reason;
    @ApiModelProperty(value = "创建时间")
    private Date createTime;
    @ApiModelProperty(value = "更新时间")
    private Date updateTime;


}
